package com.jumi.microservice.constant;

import com.jumi.microservice.common.base.dto.AbstractEnum;


/**
 * @author Administrator
 */

public enum LoginTypeEnum implements AbstractEnum {

    /**
     * 登录类型
     */
    PASSWORD_LOGIN(0,"密码登录"),
    CODE_LOGIN(1,"验证码登录"),
    ;
    private Integer code;
    private String desc;

    LoginTypeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
